# Makefile WAI
CXXFLAGS = -I /usr/include/mysql++ -I /usr/include/mysql -lmysqlpp

waid_objects = ServerSocket.o Socket.o waid.o
rssiSender_objects = ClientSocket.o Socket.o rssiSender.o

all : waid rssiSender

waid: $(waid_objects)
	g++ $(CXXFLAGS) -o waid $(waid_objects)

rssiSender: $(rssiSender_objects)
	g++ -o rssiSender $(rssiSender_objects)

Socket: Socket.cpp
ServerSocket: ServerSocket.cpp
waid_main: waid_main.cpp
rssiSender: rssiSender.cpp

clean:
	rm -f *.o waid rssiSender
